package com.alibaba.entity;

/**
 * QuestionType entity. 
 * @author kinglcc 
 */

@SuppressWarnings("serial")
public class QuestionType implements java.io.Serializable {

	// Fields

	private Integer typeId;
	private String typeName;
	private Integer questionNum;

	// Constructors

	/** default constructor */
	public QuestionType() {
	}

	/** full constructor */
	public QuestionType(String typeName, Integer questionNum) {
		this.typeName = typeName;
		this.questionNum = questionNum;
	}

	// Property accessors

	public Integer getTypeId() {
		return this.typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public void setQuestionNum(Integer questionNum) {
		this.questionNum = questionNum;
	}

	public Integer getQuestionNum() {
		return questionNum;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return this.getTypeName();
	}
}